local gbc = cc.import("#gbc")
local HelloAction = cc.class("HelloAction", gbc.ActionBase)

local mysql = cc.import("#mysql")

function HelloAction:sayAction(args)
    local word = args.word or "world"
    local my = self:getInstance():getMysql()
    my:insert("account",{uid = 4,account = "sandy4",nickname = "sandznb4",sex = 0,photo = 0,accountstate = 1})

    return {result = "hello, " .. word}
end

return HelloAction